import geewiRequest from '../base/GeewiRequestUtil';
import GeewiGetUserInfoBean from '@/api/user/GeewiUserInfoBean';

///请求数据的封装类 err返回 {code:number,msg:string}
async function geewiGetUserInfo(): Promise<GeewiGetUserInfoBean> {
  return geewiRequest<GeewiGetUserInfoBean>('api/userInfo', {});
}

export default {
  geewiGetUserInfo,
};
